/**
 * 微项目申请管理
 */

import http from "@/utils/http";

/**
 * @description: 微项目列表
 * @param {*} data
 */
export const minProjectList = data => {
    return http({
        url: '/backend/MinProject/list',
        method: 'POST',
        data,
    })
}

/**
 * @description: 微项目详情
 * @param {*} data
 */
export const minProjectDetail = data => {
    return http({
        url: '/backend/MinProject/detail',
        method: 'POST',
        data,
    })
}

/**
 * @description: 新增微项目
 * @param {*} data
 */
export const addMinProject = data => {
    return http({
        url: '/backend/MinProject/add',
        method: 'POST',
        data,
    })
}

/**
 * @description: 删除微项目
 * @param {*} data
 */
export const delMinProject = data => {
    return http({
        url: '/backend/MinProject/del',
        method: 'POST',
        data,
    })
}
/**
 * @description: 微项目审核
 * @param {*} data
 */
export const AuditingMinProject = data => {
    return http({
        url: '/backend/MinProject/Auditing',
        method: 'POST',
        data,
    })
}
/**
 * @description: 根据人员id获取申请的微项目列表
 * @param {*} data
 */
export const getApplyListById = data => {
    return http({
        url: '/backend/MinProject/getApplyListById',
        method: 'POST',
        data,
    })
}